package com.atmilan.quartz.model.entity.delloglio;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * Delloglio商品数据源
 * </p>
 *
 * @author wuzp
 * @since 2021-10-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("delloglio_product")
@ApiModel(value="DelloglioProduct对象", description="Delloglio商品数据源")
public class DelloglioProduct extends Model<DelloglioProduct> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品id")
    private String productId;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "季节")
    private String seasonCode;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "一级分类")
    private String mainCategory;

    @ApiModelProperty(value = "二级分类")
    private String category;

    @ApiModelProperty(value = "品牌")
    private String productBrand;

    @ApiModelProperty(value = "商品详情")
    private String productDetail;

    @ApiModelProperty(value = "材料")
    private String productMaterial;

    @ApiModelProperty(value = "性别")
    private String gender;

    @ApiModelProperty(value = "url")
    private String url;

    @ApiModelProperty(value = "价格")
    private String supplyPrice;

    @ApiModelProperty(value = "设计师id")
    private String producerId;

    @ApiModelProperty(value = "销售计划")
    private String merchandising;

    @ApiModelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "最后一次拉取时间")
    private Date lastPushTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
